package org.anti996.ln_mybatis.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 转账记录表
 * </p>
 *
 * @author Anti996 Authors
 * @since 2022-07-11
 */
@Getter
@Setter
@ApiModel(value = "Record对象", description = "转账记录表")
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("记录序号")
    @TableId(value = "transfer_id", type = IdType.AUTO)
    private Integer transferId;

    @ApiModelProperty("发款卡号")
    private Integer idFrom;

    @ApiModelProperty("收款卡号")
    private Integer idTo;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("转账时间")
    private LocalDateTime timestp;
}
